﻿@{
    <div class="sb_header">
        Navigation</div>
    <div class="sb_content">
        <ul style="list-style-type: square;list-style:square url(@Url.Content("~/Images/4.gif"))">
            <li>@Html.ActionLink("Home", "Index", "Home", new { }, new { })</li>
            <li>@Html.ActionLink("Overview", "Overview", "Home", new { }, new { })</li>
            <li>@Html.ActionLink("Feedback", "Feedback", "Home", new { }, new { })</li>
            <li>@Html.ActionLink("Contact", "Contact", "Home", new { }, new { })</li>
        </ul>
    </div>
    <br />
    <div class="sb_header">
        Management</div>
    <div class="sb_content">
        <ul style="list-style-type: square;list-style:square url(@Url.Content("~/Images/4.gif"))">
            @if (HttpContext.Current.User.IsInRole("1"))
            {
                <li>@Html.ActionLink("Users", "Index", "User")</li>
                <li>@Html.ActionLink("Subjects", "Index", "Subject")</li>
                <li>@Html.ActionLink("Reports", "Index", "Report")</li>
                <li>@Html.ActionLink("Feedbacks", "Index", "Feedback")</li>
            }
            else
            {
                <li>@Html.ActionLink("Subjects", "Index", "Subject")</li>
            }
        </ul>
    </div>
}
